package com.workcell.workdata.im.component.event;

import com.workcell.workdata.im.entity.Message;
import org.springframework.context.ApplicationEvent;

import java.util.List;

public class FriendEvent extends ApplicationEvent {

    private List<Long> uidList;

    public FriendEvent(Message message) {
        super(message);
    }

    @Override
    public Message getSource() {
        return (Message) source;
    }


    public List<Long> getUidList() {
        return uidList;
    }

    public void setUidList(List<Long> uidList) {
        this.uidList = uidList;
    }
}
